package com.mocker;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;

/**
 * @author Mocker
 * @Date 2017-02-08 下午5:22
 * @Version 1.0
 */
@RunWith(SpringJUnit4ClassRunner.class)
//由于是Web项目，Junit需要模拟ServletContext
@WebAppConfiguration
public class ApplicationTest {

    @Test
    public void test(){
        System.out.println("ApplicationTest.test");
    }

}
